<?php

/**
 * @version     1.0.0
 * @package     mylits engine
 * @license     GNU General Public License version 3
 * @author      Arfan Fudyartanto D N <arfan@mylits.com> - http://engine.mylits.com
 */
class Mylits_Config {

    /**
     * Provide functionality to get configuration value. config file -> 'app/config/configuration.php'
     * @example echo Mylits_Config::getValue('default_language'); 
     * 
     * @param string $name -> key to search
     * @return string $value -> configuration value
     */
    public static function getValue($name) {
        include APP_DIR . '/config/configuration.php';
        return $config[$name];
    }

    public static function issetParam($name) {
        include APP_DIR . '/config/configuration.php';
        return isset($config[$name]);
    }

}

?>
